rd /S /Q dist  build
setup.py py2exe 

md dist\images
md dist\conf
xcopy /S /Y images dist\images
xcopy /S /Y conf dist\conf
copy start_mysql_server.bat  dist\
copy start_mysql_server_wait.bat  dist\

